package shopping;

public class Person {
	public static Object type;
	String name;
	String goods;
	int money;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGoods() {
		return goods;
	}

	public void setGoods(String goods) {
		this.goods = goods;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public Person(String name, String goods, int i) {
		super();
		this.name = name;
		this.goods = goods;
		this.money = i;
	}


	@Override
	public String toString() {
		return "Person [name=" + name + ", goods=" + goods + ", money=" + money + "]";
	}
}
